//
//  CmtNewCollectionCell.m
//  Products_B
//
//  Created by lanou on 16/5/30.
//  Copyright © 2016年 朋学友. All rights reserved.
//

#import "CmtNewCollectionCell.h"
#import <UIImageView+WebCache.h>
@implementation CmtNewCollectionCell

- (void)awakeFromNib {
    // Initialization code
}



- (IBAction)praiseAction:(id)sender {
}


-(void)setModel:(CmtNewModel *)model{

    [self.coverimg sd_setImageWithURL:[NSURL URLWithString:model.image]];
    [self.head_image sd_setImageWithURL:[NSURL URLWithString:model.head_img]];
    self.nameLabel.text = model.nick;
    self.creat_time.text = model.create_time;
    self.comment_count.text = model.agree_count;

}


@end
